package cn.ethan.demo.design.pay;

import cn.ethan.demo.design.mode.PayMode;

import java.math.BigDecimal;

/**
 *
 *
 * @author 张俊辉
 */
public class ZfbPay extends Pay {

    public ZfbPay(PayMode payMode) {
        super(payMode);
    }

    @Override
    public String transfer(String uId, String tradeId, BigDecimal amount) {
        System.out.println("支付宝渠道支付划账开始");
        boolean security = payMode.security(uId);
        System.out.println("支付宝认证情况" + security);
        return "0000";
    }
}
